package org.lds.message.center.helloworld.enums;


import org.lds.message.center.common.enums.ErrCodeEnum;

public enum HelloWorldErrorEnum implements ErrCodeEnum {
    PLUGIN_CLOSED("HELLO_WORLD_PLUGIN_CLOSED", "HELLO_WORLD插件已关闭"),
    REQUEST_INVALID("HELLO_WORLD_REQUEST_INVALID", "HelloWorldRequest不合法"),
    REQUESTS_INVALID("HELLO_WORLD_REQUESTS_INVALID", "HelloWorldRequests不合法"),
    TEXT_INVALID("TEXT_INVALID", "text不合法"),
    ;

    private String code;
    private String message;

    HelloWorldErrorEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getErrCode() {
        return code;
    }

    @Override
    public String getErrMsg() {
        return message;
    }

}
